//
//  TKIMChatViewCell.h
//  TKIM
//
//  Created by liupm on 15/7/27.
//  Copyright (c) 2015年 liupm. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TKIMTxtMsgView.h"
#import "TKIMBaseMsgView.h"
#import "TKIMImageMsgView.h"
//#import "TKIMMessage.h"
//#import "TKIMDefinition.h"
#import "TKIMAudioMsgView.h"
#import "TKIMLocationMsgView.h"
#import "TKIMVideoMsgView.h"
#import "TKIMFileMsgView.h"
#import "TKIMSrvTmplMsgView.h"
#import "TKIMSrvRichMsgView.h"
#import "TKIMSrvDtwMsgView.h"
#import "TKIMScoreMsgView.h"

@interface TKIMChatViewCell : UITableViewCell
@property(nonatomic,strong) TKIMBaseMsgView *msgView;
@property (nonatomic,strong)UIImageView* seleteImage;
@property (nonatomic,assign) BOOL  isShowSeleted;//是否显示选择样式


/**
 *  @Author lpm, 15-10-22 20:10:51
 *
 *  @brief  初始化
 *
 *  @param style
 *  @param reuseIdentifier
 *  @param type
 *
 *  @return
 */
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier msg:(TKIMMessage *)msg;


/**
 *  @Author lpm, 15-07-27 19:07:37
 *
 *  @brief  赋值
 *
 *  @param message 消息
 */
-(void)setMessage:(id)message;


/**
 *  @Author lpm, 15-11-05 09:11:34
 *
 *  @brief  行高
 *
 *  @return
 */
+(CGFloat)heightForRow:(TKIMMessage *)msg;

//切换选中样式
-(void)choseSeletedImageState:(BOOL)flag;
@end
